home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacFormat 2001 October
/
macformat-108.iso
/
Tutorials
/
Flash game tutorial
/
spot the difference final.swf
/
scripts
/
DefineButton2_34
/
BUTTONCONDACTION on(release).as
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
2001-08-01
|
320 b
|
21 lines
on(release){
if(Number(re3) == 0)
{
tellTarget("/3a")
{
play();
}
tellTarget("/3b")
{
play();
}
re3 = 1;
count = Number(count) + 1;
score = Number(score) + 10;
}
if(Number(count) == 5)
{
nextFrame();
}
}